Cannot get to debugger when Debug As - Junit Test in OEPE

In Oracle Enterprise Pack for Eclipse, I created a JUnit (3 or 4) test case. When I attempted to Debug As -> Junit Test, I would get NullPointerException and cannot get to the debugger at all. However, there is no such problem in Ganymede (not OEPE). Is this a known problem for OEPE?
The stack trace is:
junit.framework.AssertionFailedError: Exception in constructor: testMapCustomer (org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     at org.springframework.test.ConditionalTestCase.<init>(ConditionalTestCase.java:50)
     at org.springframework.test.AbstractSpringContextTests.<init>(AbstractSpringContextTests.java:73)
     at org.springframework.test.AbstractSingleSpringContextTests.<init>(AbstractSingleSpringContextTests.java:80)
     at org.springframework.test.AbstractDependencyInjectionSpringContextTests.<init>(AbstractDependencyInjectionSpringContextTests.java:98)
     at com.cibc.wmfxr.pricing.processor.test.Junit38SybaseDaoTest.<init>(Junit38SybaseDaoTest.java:6)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at junit.framework.TestSuite.createTest(TestSuite.java:54)
     at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
     at junit.framework.TestSuite.<init>(TestSuite.java:140)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     ... 21 more
Caused by: java.lang.NullPointerException
     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     at org.springframework.test.ConditionalTestCase.<init>(ConditionalTestCase.java:50)
     at org.springframework.test.AbstractSpringContextTests.<init>(AbstractSpringContextTests.java:74)
     at org.springframework.test.AbstractSingleSpringContextTests.<init>(AbstractSingleSpringContextTests.java:80)
     at org.springframework.test.AbstractDependencyInjectionSpringContextTests.<init>(AbstractDependencyInjectionSpringContextTests.java:98)
     at com.cibc.wmfxr.pricing.processor.test.Junit38SybaseDaoTest.<init>(Junit38SybaseDaoTest.java:6)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at junit.framework.TestSuite.createTest(TestSuite.java:54)
     at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
     at junit.framework.TestSuite.<init>(TestSuite.java:140)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:674)
     ... 2 more
     at junit.framework.Assert.fail(Assert.java:47)
     at junit.framework.TestSuite$1.runTest(TestSuite.java:90)
     at junit.framework.TestCase.runBare(TestCase.java:130)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:120)
     at junit.framework.TestSuite.runTest(TestSuite.java:230)
     at junit.framework.TestSuite.run(TestSuite.java:225)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Thanks. I tried it with the downloaded junit-4.6.jar and got the following stack trace. Now I wonder I should try it with the Junit bundle in the SpringSource Enterprise Bundle Repository since OEPE integrates the Spring OSGi Bundle. If this is the right idea, could you let me know how to install the Junit bundle in OEPE? Do I just add it to bundles.info? There are already a few lines for org.junit in bundles.info. What should I do with them? Thanks a lot.
java.lang.ExceptionInInitializerError
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
     at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
     at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
     at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
     at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
     at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:28)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:24)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:40)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:30)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<clinit>(SpringJUnit4ClassRunner.java:63)
     ... 18 more
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     ... 22 more
Caused by: java.lang.NullPointerException
     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
     ... 23 more

Similar Messages

  • I made a movie with iMovie and cannot get the audio when I burn into dvd. I would like to transfer video to a dvd to be played in any computer and TV

    I made a movie with iMovie and cannot get the audio when I burn into dvd. I would like to transfer video to a dvd to be played in any computer and TV

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

  • Cannot get any sound when playing .avi files

    Hi All
    I am running QT version 6.5.3 on Mac OS X 10.2.8 and cannot get any sound when playing .avi files but the picture is perfect.
    I have installed the following: M-Peg 2 playback component, AVI Components and AC3 component.
    Does anyone know if I am missing anything or how I can fix this?
    Many thanks
    Garry

    Download and install Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs. In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/

  • Cannot get email verification when trying to set up iCloud settings on my iPad.

    Cannot get email verification when trying to set up iCloud settings on my iPad

    I ignored my laptop for a couple of days and last night noticed that it had been updated by the cloud.
    I had added a test contact to my iPhone and it has appeared on outlook on my laptop.

  • I cannot get phone signal when abroad

    I have an iPhone 4S and cannot get a signal when out of my home country. Is there a solution for this by changing the phone settings?

    Did you enable international use with your carrier before you left? If you did, check Settings>General>Network and make sure that Roaming is turned on.

  • HT1423 I cannot get a click when pushing in new module.  It clicks when I pull it out.  What am I doing wrong?

    I cannot get a click when putting in the memory.  It clicks when I pull it out.  Am I doing something wrong?

    Is it for sure the proper Memory?
    Does it look all the way in, even/level with existing RAM?

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's
    We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
    Network error []: Cannot Get Host Name
    The following is then logged in the Essbase Application logs:
    Local/Application/Database/admin@Native Directory/Error(1042022)
    Network error []: Cannot Get Host Name.
    A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
    The environment is 11.1.2.0 and the architecture is as follows:
    Server 1 - MS Server 2008 x64:
    Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
    Server 2 - MS Server 2008 x64:
    Essbase Server
    Server 3 - MS Server 2008 x64:
    Framework Services, FR Print Services
    We have tried doing the following:
    1. Put in the server host names into the hosts file on the Hyperion Servers
    2.  Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
          - Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
         - Added a new DWORD Value named MaxUserPort and set it to 65534.
         - Added a new DWORD Value named MaxFreeTcbs and set it to 6250
    3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
    4. The Essbase Config file has the following settings:
    NETDELAY 2000
    NETRETRYCOUNT 2500
    Has anyone come across this issue and if you managed to resolve it, how did you go about it.
    Thanx

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • FRM-47026 Cannot get parameter error when using bi graph

    Hi,
    I have recently tried to use the BI Graph bean provided as a demo from Oracle.
    I have amended the cursors and put into our system but get an error on the master graph.
    When i mouse click on a column i recieve the error from forms :
    FRM-47026 Cannot get parameter GRAPH_INFO attributes from parameter List CUSTOM_ITEM_LST19: no such names parameter exists.
    Any ideas. i have not changed the code in this trigger only the procedure cursors to work within our system
    code in trigger:
                   eventValues := get_parameter_list(:system.custom_item_event_parameters);
                   get_parameter_attr(eventValues,'GRAPH_INFO',eventValueType, tempString);
                   set_custom_property('PJC.WAREHOUSEGRAPH',1,'HIDE_GRAPH','');
                   FORMSGRAPHSAMPLE.clearData('PJC.DETAILGRAPH');
                   FORMSGRAPHSAMPLE.populateDetailGraphData('PJC.DETAILGRAPH',tempString,',');
    thanks

    Hi,
    Did you ever get this issue resolved?
    I am facing the same problem.
    Thanks
    Ian

  • I recently changed my aol password and now I cannot get mail.  When I go to settings, Mail, Contacts, Calendars the accounts portion is grayed out and will not let me open.  How do I fix this problem?

    I recently changed my aol password and right after I changed, I cannot get mail.  I get a a pop up block that says, Cannot Get Mail, the user name or password for AOL is incorrect, settings, OK.  I go to settings as suggested but the account area is grayed out and will not let me open.  Need help on how to fix this problem.  I tried sync with my PC and that did not help either.

    It sounds like you might need to contact Yahoo! if you aren't able to setup your email account as a new account after deleting it. 
    I found some links on the Yahoo! website that might help:
    http://help.yahoo.com/kb/index?page=content&id=SLN4138&locale=en_US&y=PROD_MOBIL E
    http://help.yahoo.com/kb/index?locale=en_US&y=PROD_MOBILE&page=content&id=SLN261 7

  • Quiz problems, white screen appears, quiz freezes, cannot get consistent responses when adding click-through assessment questions to the quiz.

    Why would I get a white screen after answering a quiz click-through?

    You'll have to do two things.. Elaborate on exactly what you mean by a white screen appears. What is turning white? Are you generating a SWF from captivate of a screen capture session, then trying to load that SWF with a wrapper and when you do so it turns white? (In that scenario, if Captivate was looking for external assets it can't find, that'd be why). Please include more details on that.
    Second, code of this size pasted into the forum really doesn't help. You'll need to do the work to isolate exactly what part of the code you're seeing this white box appear. Run it in a debugger line by line until you witnesss it turn white and only share that small portion of code. And if you do choose to share a ton of code, please use a site like pastebin.com which will retain formatting and color coding, making it much easier to read, and then share that pastebin link.

  • I cannot get any response when I search for an album or a particular artist on my commputer but on my Ipod touch the search works everytime but as the keyboard is small and I am sight impaired I can't type in my password to make a purchase so need to use

    I am having trouble in the Itunes store I am tryinmg to search for an album or the artist I type in the search and click but nothing happens only raely. On my Ipod touch I cna get an instant response when I type in the search but because the keyboard is small and I am sight impaired I like to do my purchases on my commputer but only very raely does the search section responds what can I do to rectify this?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Imexpire cannot get session lock when run with scheduler

    When imexpire runs at the scheduled time, it produces:
    [15/Nov/2007:22:01:00 -0800] vmpm1 imexpire[7946]: General Error: Could not get expire session lock. Possibly another imexpire is running
    I found an imexpire.lck file and deleted it, but got the same error the next day. Next, I restarted messaging, then ran imexpire interactively with no problems. The imexpire.lck file remained and was not removed afterward. Our imexpire policy was migrated from ims5.2 and is housed in configutil. Can you give me any suggestions for how to allow imexpire to run correctly via the scheduler?
    We're running ims 6 2005Q4:
    -bash-3.00$ ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007)
    libimta.so 6.2-8.04 (built 19:28:07, Feb 28 2007)
    SunOS vmpm1 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V490
    David.

    dpelinka wrote:
    When imexpire runs at the scheduled time, it produces:
    [15/Nov/2007:22:01:00 -0800] vmpm1 imexpire[7946]: General Error: Could not get expire session lock. Possibly another imexpire is runningAre you sure another imexpire isn't running?
    Do you have coreadm enabled on your system and if so has any messaging server processes core dumped since you last restart messaging server?
    I found an imexpire.lck file and deleted it, but got the same error the next day. The imexpire.lck file is supposed to be there. Processes obtain a file-level lock on this file. If you run fuser /opt/SUNWmsgsr/config/imexpire.lck does it return a value?
    Next, I restarted messaging, then ran imexpire interactively with no problems. The imexpire.lck file remained and was not removed afterward. Our imexpire policy was migrated from ims5.2 and is housed in configutil. Can you give me any suggestions for how to allow imexpire to run correctly via the scheduler?You need to determine why the lock was left in the first place. Has it been working since you restarted messaging server i.e. do you see something like the following in your /opt/SUNWmsgsr/log/default log?:
    [17/Nov/2007:23:00:01 +1100] mailserver imexpire[26309]: General Notice: Expire
    started (0)
    [17/Nov/2007:23:00:01 +1100] mailserver imexpire[26309]: General Notice: Expire
    finished
    Regards,
    Shane.

  • HT1351 cannot get album artwork when synching with new 160gb ipod

    I have recently bought a 160gb classic ipod and cannot synch my album artwork. Driving me crazy, can anyone help?

    I had this same trouble.
    I was handling everything manually and therefore only had the tunes on the ipod.
    Once I upgraded I could no longer see the art on the ipod - but could still see it in itunes.
    The only way to correct it was to empty the ipod and reload all 11,000 tunes in itunes then back in the ipod.
    I lost all my playlists (over 100!) but when I sync up I can now see the art on the ipod.
    I don't like having over 40g on my desktop - but it finally got the art back.
    good luck!

  • Cannot get Flash Player 15 debug to install properly in Safari 7.1

    After upgrading Safari, with FlashPlaer debug plugin installed, to 7.1  on my MacBook Pro running OSX 10.9.5, I found that I could not type into text fields of a flash based website created by me with FlashBuilder 4.6. I found that the FlashPlayer plug-in was no longer listed in in the Safari Preferences Security tab->Manage Website Settings. FlashBuilder debug worked, but I was unable to type into any text fields in the player.
    I tried reinstalling using flashplayer_15_plugin_debug.dmg with the same results. If I install the non debug version on install_flash_player_osx.dmg the site works fine, but of course FlashBuilder debug no longer works.
    I tried doing a clean install of the debug player without any success.
    Any help would be appreciated.
    John

    This is a known issue.  It's already fixed in our engineering builds and should show up in the beta channel in next week's drop.

  • I keep getting a script error cannot get rid even when ireistall or use chrome slowing my use down loads

    An error has occured in the script on this page
    Line:6
    CHar: 590
    Error Expected '}'
    Code: 0
    URL: https pbttbc.btmotive.com
    I have installed Chrome and it does it and reinstalled firefox and still doing it

    It sounds as if you may have a virus or malware on your computer. You may want to try and downlaod and run Malwarebytes Antimalware. [https://www.malwarebytes.org/antimalware/ Malwarebytes Anti-Malware Free]

Maybe you are looking for